
@extends('public.father')
@section('content')
	<div class="panel panel-default">

		<div id="w_carousel" class="carousel slide w_carousel" data-ride="carousel">
			<!-- Indicators -->
			<ol class="carousel-indicators">
				<li data-target="#w_carousel" data-slide-to="0" class="active"></li>
				<li data-target="#w_carousel" data-slide-to="1"></li>
				<li data-target="#w_carousel" data-slide-to="2"></li>
				<li data-target="#w_carousel" data-slide-to="3"></li>
			</ol>

			<!-- Wrapper for slides -->
			<div class="carousel-inner" role="listbox">
				<div class="item active">
					<img src="/templates/xym/img/slider/slide1.jpg" alt="...">
					<div class="carousel-caption">
						<h3>First slide label</h3>
						<p>Nulla vitae elit libero, a pharetra augue mollis interdum.</p>
					</div>
				</div>
				<div class="item">
					<img src="/templates/xym/img/slider/slide2.jpg" alt="...">
					<div class="carousel-caption">...</div>
				</div>
				<div class="item">
					<img src="/templates/xym/img/slider/slide3.jpg" alt="...">
					<div class="carousel-caption">...</div>
				</div>
				<div class="item">
					<img src="/templates/xym/img/slider/slide4.jpg" alt="...">
					<div class="carousel-caption">...</div>
				</div>
			</div>

			<!-- Controls -->
			<a class="left carousel-control" href="#w_carousel" role="button" data-slide="prev">
				<span class="glyphicon glyphicon-chevron-left"></span>
				<span class="sr-only">Previous</span>
			</a>
			<a class="right carousel-control" href="#w_carousel" role="button" data-slide="next">
				<span class="glyphicon glyphicon-chevron-right"></span>
				<span class="sr-only">Next</span>
			</a>
		</div>

	</div>

	<div class="panel panel-default contenttop">
		<a href="{{route('bozhu')}}">
			<strong>博主置顶</strong>
			<h3 class="title">阿里云空间选择</h3>
			<p class="overView">之前服务器放在电信机房， 联通用户访问速度很不稳定，经常出现访问速度慢的问题，换到阿里云解决了之前的问题。
				很多人都问我的博客选得什么空间，一年的费用得多少钱，今天我列个表出来，供大家参考</p>
		</a>
	</div>

	<div class="panel panel-default">
		<div class="panel-heading">
			<h3 class="panel-title">最新发布</h3>
		</div>

		<div class="panel-body">

			<!--文章列表开始-->
			<div class="contentList">

				@wenzhang
				<div class="panel panel-default">
					<div class="panel-body">

						<h4><a class="title" href="{{$a['url']}}">{{$a['title']}}</a></h4>
						<p>
							<a class="label label-default" href="{{route('lists',$a->moxin->id)}}">{{$a->moxin->shopname}}</a>
						</p>
						<p class="overView">{!! str_limit($a['content'], 250, '... ... ')  !!}</p>
						<p><span class="count"><i class="glyphicon glyphicon-user"></i><a href="#">{{$a['author']}}</a></span> <span class="count"><i class="glyphicon glyphicon-eye-open"></i>阅读:{{$a['click']}}</span><span class="count"><i class="glyphicon glyphicon-comment"></i>评论:18</span><span class="count"><i class="glyphicon glyphicon-time"></i>{{$a['created_at']}}</span></p>

					</div>
				</div>
				@endwenzhang
				{{--{{dd($wen)}}--}}
			</div>
			<!--文章列表结束-->


		</div>
	</div>

@endsection

